avr32:mmu.c: fix printf() length modifier
authorAndreas Bießmann <[email protected]>
Thu, 15 Dec 2011 08:56:55 +0000 (09:56 +0100)
committerWolfgang Denk <[email protected]>
Sat, 17 Dec 2011 22:57:18 +0000 (23:57 +0100)
commit87c24e2580bb6bd032a36c00f7f8944c8ff2867e
treef51f30674d970f9177a35edac44ce7c1e3b156fa
parent2d1b83b346431bfee7574822d356e5a28ead21d3
avr32:mmu.c: fix printf() length modifier

avr32 uses unsigned long addresses, fix the printf() length modifier for that
fact.

Before this patch following warning occours:

---8<---
mmu.c: In function 'mmu_init_r':
mmu.c:25: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'uintptr_t'
--->8---

Signed-off-by: Andreas Bießmann <[email protected]>
cc: Mike Frysinger <[email protected]>
cc: Thomas Chou <[email protected]>
cc: Reinhard Meyer <[email protected]>
Acked-by: Mike Frysinger <[email protected]>
arch/avr32/cpu/at32ap700x/mmu.c